from django.conf.urls.defaults import *
from axis4.service_monitor.api_controllers import CheckController, ServiceController
from axis4.service_monitor.view_controllers import RootController

api_v1_urls = patterns('',
    (r'^check/(.*)', CheckController()),
    (r'^service/(.*)', ServiceController()),
)

urlpatterns = patterns('',
    (r'^$', RootController()),
    (r'^api/1/', include(api_v1_urls)),
)
